import { defineFakeRoute } from 'vite-plugin-fake-server/client';
import { get, post } from '../BaseMock';

const operlogListReturn = (req) => {
  return {
    total: 1770,
    rows: [
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        operId: 1869,
        title: '代码生成',
        businessType: 8,
        businessTypes: null,
        method:
          'com.ruoyi.project.tool.gen.controller.GenController.batchGenCode()',
        requestMethod: 'GET',
        operatorType: 1,
        operName: 'admin',
        deptName: '研发部门',
        operUrl: '/tool/gen/batchGenCode',
        operIp: '14.145.178.226',
        operLocation: '广东省 广州市',
        operParam: '{"tables":"sys_config"}',
        jsonResult: null,
        status: 0,
        errorMsg: null,
        operTime: '2025-01-11 17:35:45',
        costTime: 25
      },
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        operId: 1868,
        title: '代码生成',
        businessType: 8,
        businessTypes: null,
        method:
          'com.ruoyi.project.tool.gen.controller.GenController.batchGenCode()',
        requestMethod: 'GET',
        operatorType: 1,
        operName: 'admin',
        deptName: '研发部门',
        operUrl: '/tool/gen/batchGenCode',
        operIp: '223.104.43.35',
        operLocation: '北京市 北京市',
        operParam: '{"tables":"sys_config"}',
        jsonResult: null,
        status: 0,
        errorMsg: null,
        operTime: '2025-01-11 17:12:50',
        costTime: 17
      },
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        operId: 1867,
        title: '代码生成',
        businessType: 8,
        businessTypes: null,
        method:
          'com.ruoyi.project.tool.gen.controller.GenController.batchGenCode()',
        requestMethod: 'GET',
        operatorType: 1,
        operName: 'admin',
        deptName: '研发部门',
        operUrl: '/tool/gen/batchGenCode',
        operIp: '39.160.16.207',
        operLocation: '江西省 宜春市',
        operParam: '{"tables":"sys_config"}',
        jsonResult: null,
        status: 0,
        errorMsg: null,
        operTime: '2025-01-11 16:57:35',
        costTime: 16
      },
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        operId: 1866,
        title: '代码生成',
        businessType: 8,
        businessTypes: null,
        method:
          'com.ruoyi.project.tool.gen.controller.GenController.batchGenCode()',
        requestMethod: 'GET',
        operatorType: 1,
        operName: 'admin',
        deptName: '研发部门',
        operUrl: '/tool/gen/batchGenCode',
        operIp: '39.160.16.207',
        operLocation: '江西省 宜春市',
        operParam: '{"tables":"sys_config"}',
        jsonResult: null,
        status: 0,
        errorMsg: null,
        operTime: '2025-01-11 16:57:29',
        costTime: 30
      },
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        operId: 1865,
        title: '代码生成',
        businessType: 8,
        businessTypes: null,
        method:
          'com.ruoyi.project.tool.gen.controller.GenController.batchGenCode()',
        requestMethod: 'GET',
        operatorType: 1,
        operName: 'admin',
        deptName: '研发部门',
        operUrl: '/tool/gen/batchGenCode',
        operIp: '14.19.37.136',
        operLocation: '广东省 广州市',
        operParam: '{"tables":"sys_config"}',
        jsonResult: null,
        status: 0,
        errorMsg: null,
        operTime: '2025-01-11 16:42:00',
        costTime: 16
      },
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        operId: 1864,
        title: '代码生成',
        businessType: 8,
        businessTypes: null,
        method:
          'com.ruoyi.project.tool.gen.controller.GenController.batchGenCode()',
        requestMethod: 'GET',
        operatorType: 1,
        operName: 'admin',
        deptName: '研发部门',
        operUrl: '/tool/gen/batchGenCode',
        operIp: '1.192.81.8',
        operLocation: '河南省 郑州市',
        operParam: '{"tables":"sys_config"}',
        jsonResult: null,
        status: 0,
        errorMsg: null,
        operTime: '2025-01-11 16:40:18',
        costTime: 17
      },
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        operId: 1863,
        title: '代码生成',
        businessType: 8,
        businessTypes: null,
        method:
          'com.ruoyi.project.tool.gen.controller.GenController.batchGenCode()',
        requestMethod: 'GET',
        operatorType: 1,
        operName: 'admin',
        deptName: '研发部门',
        operUrl: '/tool/gen/batchGenCode',
        operIp: '59.175.227.254',
        operLocation: '湖北省 武汉市',
        operParam: '{"tables":"sys_config"}',
        jsonResult: null,
        status: 0,
        errorMsg: null,
        operTime: '2025-01-11 15:50:19',
        costTime: 16
      },
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        operId: 1862,
        title: '代码生成',
        businessType: 8,
        businessTypes: null,
        method:
          'com.ruoyi.project.tool.gen.controller.GenController.batchGenCode()',
        requestMethod: 'GET',
        operatorType: 1,
        operName: 'admin',
        deptName: '研发部门',
        operUrl: '/tool/gen/batchGenCode',
        operIp: '183.216.75.53',
        operLocation: '江西省 南昌市',
        operParam: '{"tables":"sys_config"}',
        jsonResult: null,
        status: 0,
        errorMsg: null,
        operTime: '2025-01-11 15:22:00',
        costTime: 16
      },
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        operId: 1861,
        title: '代码生成',
        businessType: 8,
        businessTypes: null,
        method:
          'com.ruoyi.project.tool.gen.controller.GenController.batchGenCode()',
        requestMethod: 'GET',
        operatorType: 1,
        operName: 'admin',
        deptName: '研发部门',
        operUrl: '/tool/gen/batchGenCode',
        operIp: '14.155.71.101',
        operLocation: '广东省 深圳市',
        operParam: '{"tables":"sys_dict_data"}',
        jsonResult: null,
        status: 0,
        errorMsg: null,
        operTime: '2025-01-11 14:55:05',
        costTime: 18
      },
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        operId: 1860,
        title: '代码生成',
        businessType: 6,
        businessTypes: null,
        method:
          'com.ruoyi.project.tool.gen.controller.GenController.importTableSave()',
        requestMethod: 'POST',
        operatorType: 1,
        operName: 'admin',
        deptName: '研发部门',
        operUrl: '/tool/gen/importTable',
        operIp: '139.201.123.93',
        operLocation: '四川省 眉山市',
        operParam: '{"tables":"sys_user"}',
        jsonResult: '{"msg":"操作成功","code":200}',
        status: 0,
        errorMsg: null,
        operTime: '2025-01-11 14:51:03',
        costTime: 29
      }
    ],
    code: 200,
    msg: '查询成功'
  };
};

const logininforListReturn = () => {
  return {
    total: 69572,
    rows: [
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        infoId: 69671,
        userName: 'admin',
        status: '0',
        ipaddr: '112.10.176.88',
        loginLocation: '浙江省 杭州市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        msg: '登录成功',
        loginTime: '2025-01-11 19:12:21'
      },
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        infoId: 69670,
        userName: 'admin',
        status: '0',
        ipaddr: '180.138.32.30',
        loginLocation: '广西 柳州市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        msg: '登录成功',
        loginTime: '2025-01-11 19:12:02'
      },
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        infoId: 69669,
        userName: 'admin',
        status: '0',
        ipaddr: '101.88.145.213',
        loginLocation: '上海市 上海市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        msg: '登录成功',
        loginTime: '2025-01-11 19:11:30'
      },
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        infoId: 69668,
        userName: 'admin',
        status: '0',
        ipaddr: '171.114.102.246',
        loginLocation: '湖北省 宜昌市',
        browser: 'Firefox 13',
        os: 'Windows 10',
        msg: '退出成功',
        loginTime: '2025-01-11 19:10:53'
      },
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        infoId: 69667,
        userName: 'admin',
        status: '0',
        ipaddr: '171.114.102.246',
        loginLocation: '湖北省 宜昌市',
        browser: 'Firefox 13',
        os: 'Windows 10',
        msg: '登录成功',
        loginTime: '2025-01-11 19:10:25'
      },
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        infoId: 69666,
        userName: 'admin',
        status: '0',
        ipaddr: '221.226.18.93',
        loginLocation: '江苏省 南京市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        msg: '登录成功',
        loginTime: '2025-01-11 19:09:33'
      },
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        infoId: 69665,
        userName: 'admin',
        status: '0',
        ipaddr: '59.61.68.127',
        loginLocation: '福建省 厦门市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        msg: '登录成功',
        loginTime: '2025-01-11 19:08:59'
      },
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        infoId: 69664,
        userName: 'admin',
        status: '0',
        ipaddr: '116.227.36.166',
        loginLocation: '上海市 上海市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        msg: '登录成功',
        loginTime: '2025-01-11 19:08:21'
      },
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        infoId: 69663,
        userName: 'admin',
        status: '0',
        ipaddr: '223.160.196.69',
        loginLocation: '北京市 北京市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        msg: '登录成功',
        loginTime: '2025-01-11 19:04:16'
      },
      {
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null,
        infoId: 69662,
        userName: 'admin',
        status: '0',
        ipaddr: '112.47.202.108',
        loginLocation: '福建省 泉州市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        msg: '登录成功',
        loginTime: '2025-01-11 19:04:06'
      }
    ],
    code: 200,
    msg: '查询成功'
  };
};
const onlineListReturn = () => {
  return {
    total: 26,
    rows: [
      {
        tokenId: '86cd0662-5a79-4bde-80e6-b36da2662611',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '112.38.130.45',
        loginLocation: '山东省 淄博市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736593957133
      },
      {
        tokenId: 'dd6057fc-d8c0-42aa-8282-ffb534d8736d',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '115.171.65.106',
        loginLocation: '北京市 北京市',
        browser: 'Mobile Safari',
        os: 'iOS 11 (iPhone)',
        loginTime: 1736592490703
      },
      {
        tokenId: '5e0f2ede-ab8f-4398-8ca7-3299c37de486',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '112.47.202.108',
        loginLocation: '福建省 泉州市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736593446442
      },
      {
        tokenId: '1778127f-bcb5-45b9-9d73-c1fd4f224e80',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '117.140.250.133',
        loginLocation: '广西 北海市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736593072509
      },
      {
        tokenId: '281bf9dc-c8d5-469d-9031-005579bb4b72',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '111.33.216.160',
        loginLocation: '天津市 天津市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736593162218
      },
      {
        tokenId: 'c7949381-ecfb-4075-a3a4-2fd52cde730d',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '119.123.139.135',
        loginLocation: '广东省 深圳市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736593783054
      },
      {
        tokenId: '56e4aad2-e6b7-42d4-9749-a67a1de51e1d',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '223.160.196.69',
        loginLocation: '北京市 北京市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736593456455
      },
      {
        tokenId: 'c3bd9b48-cef4-4514-9612-bac0655dfeda',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '101.88.145.213',
        loginLocation: '上海市 上海市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736593890497
      },
      {
        tokenId: 'cd840278-73d2-40d6-b6d0-1e57e6423fed',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '120.245.22.236',
        loginLocation: '北京市 北京市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736593128165
      },
      {
        tokenId: 'b9bf1931-3ec0-4e9f-b6fd-a19d2ea8500d',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '59.61.68.127',
        loginLocation: '福建省 厦门市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736593739687
      },
      {
        tokenId: '2c0a22a2-ef98-4200-ae8e-194f74332a04',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '221.226.18.93',
        loginLocation: '江苏省 南京市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736593773484
      },
      {
        tokenId: 'bd7cf234-99b8-4cb9-92e7-19eb3b45bbc5',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '114.84.156.172',
        loginLocation: '上海市 上海市',
        browser: 'Mobile Safari',
        os: 'iOS 11 (iPhone)',
        loginTime: 1736592969974
      },
      {
        tokenId: 'ccfec7ad-3568-4824-9778-9e42def0986c',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '36.48.78.148',
        loginLocation: '吉林省 长春市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736592775443
      },
      {
        tokenId: '441aca4b-a602-409e-91f5-ca2933165054',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '180.138.32.30',
        loginLocation: '广西 柳州市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736593922836
      },
      {
        tokenId: 'fc85f8db-42c9-4aff-8549-37b7a209ac48',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '124.236.251.13',
        loginLocation: '河北省 石家庄市',
        browser: 'Chrome 13',
        os: 'Mac OS X',
        loginTime: 1736593306268
      },
      {
        tokenId: '0417fb97-7b30-44fa-a50b-bc036de464e3',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '103.116.121.31',
        loginLocation: '北京市 北京市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736592473149
      },
      {
        tokenId: '1391f7a0-4412-4d10-8f55-b2a0e10bd52e',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '116.227.36.166',
        loginLocation: '上海市 上海市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736593701563
      },
      {
        tokenId: '705ec90b-a6e9-43d7-bae9-905d52376957',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '60.16.203.144',
        loginLocation: '辽宁省 沈阳市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736593799034
      },
      {
        tokenId: 'f7eaf249-a7b0-49b4-b22f-673bfc609da2',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '115.171.65.106',
        loginLocation: '北京市 北京市',
        browser: 'Mobile Safari',
        os: 'iOS 11 (iPhone)',
        loginTime: 1736593402222
      },
      {
        tokenId: 'aebacc96-c140-4543-a190-e060ed8e4cc7',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '113.195.86.89',
        loginLocation: '江西省 赣州市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736592802455
      },
      {
        tokenId: '95e5d124-13b5-4838-8f36-8c2af1f96b35',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '183.226.19.153',
        loginLocation: '重庆市 重庆市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736592463487
      },
      {
        tokenId: '657ef8ce-5747-42a7-8174-9f2f9dae837c',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '39.144.187.110',
        loginLocation: '河南省 洛阳市',
        browser: 'Firefox 13',
        os: 'Windows 10',
        loginTime: 1736592461473
      },
      {
        tokenId: '29838321-9ad9-4dee-b62d-67ee02d61b16',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '58.19.1.134',
        loginLocation: '湖北省 武汉市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736592749997
      },
      {
        tokenId: 'de5dc9e7-6afb-4a1e-a736-c2f1dd124dd0',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '123.172.65.190',
        loginLocation: '吉林省 长春市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736593027975
      },
      {
        tokenId: '6542ef9e-4f34-4e42-8c31-e51c8dfc51d7',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '39.149.41.106',
        loginLocation: '河南省 南阳市',
        browser: 'Chrome 13',
        os: 'Windows 10',
        loginTime: 1736593025079
      },
      {
        tokenId: '39d10b93-70be-4da0-a00c-2953aba2c230',
        deptName: '研发部门',
        userName: 'admin',
        ipaddr: '116.95.145.193',
        loginLocation: '内蒙古 通辽市',
        browser: 'Chrome Mobile',
        os: 'Android 1.x',
        loginTime: 1736594040942
      }
    ],
    code: 200,
    msg: '查询成功'
  };
};
const jobListReturn = () => {
  return {
    total: 3,
    rows: [
      {
        createBy: 'admin',
        createTime: '2024-06-30 11:28:35',
        updateBy: null,
        updateTime: null,
        remark: '',
        jobId: 1,
        jobName: '系统默认（无参）',
        jobGroup: 'DEFAULT',
        invokeTarget: 'ryTask.ryNoParams',
        cronExpression: '0/10 * * * * ?',
        misfirePolicy: '3',
        concurrent: '1',
        status: '1',
        nextValidTime: '2025-01-11 19:15:30'
      },
      {
        createBy: 'admin',
        createTime: '2024-06-30 11:28:36',
        updateBy: null,
        updateTime: null,
        remark: '',
        jobId: 2,
        jobName: '系统默认（有参）',
        jobGroup: 'DEFAULT',
        invokeTarget: "ryTask.ryParams('ry')",
        cronExpression: '0/15 * * * * ?',
        misfirePolicy: '3',
        concurrent: '1',
        status: '1',
        nextValidTime: '2025-01-11 19:15:30'
      },
      {
        createBy: 'admin',
        createTime: '2024-06-30 11:28:36',
        updateBy: null,
        updateTime: null,
        remark: '',
        jobId: 3,
        jobName: '系统默认（多参）',
        jobGroup: 'DEFAULT',
        invokeTarget:
          "ryTask.ryMultipleParams('ry', true, 2000L, 316.50D, 100)",
        cronExpression: '0/20 * * * * ?',
        misfirePolicy: '3',
        concurrent: '1',
        status: '1',
        nextValidTime: '2025-01-11 19:15:40'
      }
    ],
    code: 200,
    msg: '查询成功'
  };
};
const serverListReturn = () => {
  return {
    msg: '操作成功',
    code: 200,
    data: {
      cpu: {
        cpuNum: 2,
        total: 199000,
        sys: 0,
        used: 4.52,
        wait: 0,
        free: 94.97
      },
      mem: {
        total: 7.34,
        used: 4.99,
        free: 2.35,
        usage: 67.94
      },
      jvm: {
        total: 509.5,
        max: 1008,
        free: 247.85,
        version: '1.8.0_111',
        home: '/usr/java/jdk1.8.0_111/jre',
        runTime: '5天21小时54分钟',
        inputArgs:
          '[-Dname=target/ruoyi-vue.jar, -Duser.timezone=Asia/Shanghai, -Xms512m, -Xmx1024m, -XX:MetaspaceSize=128m, -XX:MaxMetaspaceSize=512m, -XX:+HeapDumpOnOutOfMemoryError, -XX:+PrintGCDateStamps, -XX:+PrintGCDetails, -XX:NewRatio=1, -XX:SurvivorRatio=30, -XX:+UseParallelGC, -XX:+UseParallelOldGC]',
        used: 261.65,
        startTime: '2025-01-05 21:23:01',
        usage: 51.35,
        name: 'Java HotSpot(TM) 64-Bit Server VM'
      },
      sys: {
        computerName: 'iZwz90rjtrmd83mt2s0df8Z',
        computerIp: '172.23.12.66',
        userDir: '/home/ruoyi/projects/ruoyi-vue',
        osName: 'Linux',
        osArch: 'amd64'
      },
      sysFiles: [
        {
          dirName: '/',
          sysTypeName: 'ext4',
          typeName: '/',
          total: '39.2 GB',
          free: '22.7 GB',
          used: '16.5 GB',
          usage: 42.06
        }
      ]
    }
  };
};
const cacheListReturn = () => {
  return {
    msg: '操作成功',
    code: 200,
    data: {}
  };
};
const cacheNameListReturn = () => {
  return {
    msg: '操作成功',
    code: 200,
    data: [
      {
        cacheName: 'login_tokens',
        cacheKey: '',
        cacheValue: '',
        remark: '用户信息'
      },
      {
        cacheName: 'sys_config',
        cacheKey: '',
        cacheValue: '',
        remark: '配置信息'
      },
      {
        cacheName: 'sys_dict',
        cacheKey: '',
        cacheValue: '',
        remark: '数据字典'
      },
      {
        cacheName: 'captcha_codes',
        cacheKey: '',
        cacheValue: '',
        remark: '验证码'
      },
      {
        cacheName: 'repeat_submit',
        cacheKey: '',
        cacheValue: '',
        remark: '防重提交'
      },
      {
        cacheName: 'rate_limit',
        cacheKey: '',
        cacheValue: '',
        remark: '限流处理'
      },
      {
        cacheName: 'pwd_err_cnt',
        cacheKey: '',
        cacheValue: '',
        remark: '密码错误次数'
      }
    ]
  };
};
export default defineFakeRoute([
  get('/monitor/operlog/list', operlogListReturn),
  get('/monitor/logininfor/list', logininforListReturn),
  get('/monitor/online/list', onlineListReturn),
  get('/monitor/job/list', jobListReturn),
  get('/monitor/server', serverListReturn),
  get('/monitor/cache', cacheListReturn),
  get('/monitor/cache/getNames', cacheNameListReturn)
]);
